package com.ch.ms.service.account;

import com.ch.ms.data.domain.account.ChmsAccount;
import com.ch.ms.data.domain.character.ChmsCharacter;
import com.ch.ms.service.MapleDomainService;

import java.util.List;


public interface ChmsAccountService extends MapleDomainService<ChmsAccount> {


    boolean login(String userName, String password);

    ChmsAccount findByUserName(String userName);

    List<ChmsCharacter> getCharacters(ChmsAccount account);

}
